
const show01 = function (that) {
    return {
        columns: [
            {
                title: "Name",
                key: "name"
            },
            {
                title: "Age",
                key: "age"
            },
            {
                title: "Address",
                key: "address"
            },
            {
                title: "操作",
                key: "operation",
                render: (h, params) => {
                    return h("div", [
                        h(
                            "Button",
                            {
                                props: {
                                    type: "primary",
                                    size: "small"
                                },
                                style: {
                                    marginRight: "5px"
                                },
                                on: {
                                    click: () => {
                                        that.check(params);
                                    }
                                }
                            },
                            "查看"
                        )
                    ]);
                }
            }
        ]
    }
}

export default show01 